Ext.define('AM.view.user.MemberOfView', {
    extend: 'Ext.grid.Panel',
    xtype: 'memberOfView',
    stateful: true,
    collapsible: true,
    multiSelect: true,
    stateId: 'memberOfView',
    height: 350,
    viewConfig: {
        stripeRows: true,
        enableTextSelection: true
    },

    initComponent: function () {
        this.width = 350;
        this.columns = [
            {
                text     : 'Name',
                width    : 115,
                flex     : 1,
                sortable : true,
                dataIndex: 'name'
            },
            {
                text     : 'Description',
                width    : 115,
                sortable : true,                
                dataIndex: 'description'
            },
            {
                text     : 'Type',
                width    : 115,
                sortable : true,                
                dataIndex: 'type'
            }
        ];

        this.callParent();
    }
});